package com.arui.service.impl;

import com.arui.vo.AruioUserVO;
import com.arui.domain.AruioUser;
import com.arui.mapper.AruioUserMapper;
import com.arui.service.AruioUserService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description 用户服务实现层
 * @Date 2024/8/27 9:58
 * @Created by 10574
 */
@Service
@RequiredArgsConstructor
public class AruioUserviceServiceImpl implements AruioUserService {
    private final AruioUserMapper aruioUserMapper;

    @Override
    public AruioUser getUserByName(String username) {
        return aruioUserMapper.getUserByName(username);
    }

    @Override
    public List<AruioUserVO> getUserList() {
        return aruioUserMapper.getUserList();
    }
}
